module ProductsHelper
  def getParentCategoryId(sonId)
    Category.find(sonId).parent_id
  end
end
